package com.sansui.blog.service;

import com.sansui.blog.pojo.sys.SysEmail;

import java.util.Map;

/**
 * @name: SysEmailService
 * @author: Sansui
 * @Software: IDEA
 * @Blog: https://www.cnblogs.com/sansui6/
 * @date: 2022-11-25 17:44
 **/
public interface SysEmailService {

    /**
     * 获取系统发信配置
     * @return
     */
    SysEmail getSysEmail();

    /**
     * 保存系统发信配置
     * @param sysEmail
     * @return
     */
    Map<String, Object> saveEmail(SysEmail sysEmail);

    /**
     * 测试短信发送
     * @param
     * @return
     */
    Map<String, Object> setEmailDemo(String demoMail);

}
